package com.zjweu.hkg.Configuration;

import com.zjweu.hkg.WebSocket.ImWsServerEndPoint;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
import org.springframework.web.socket.server.standard.SpringConfigurator;

import javax.websocket.server.ServerEndpointConfig;

/**
 * @Description websocket 配置类
 * @Date 2024/5/20 10:28
 * @Author liukang
 **/
@Configuration

public class WebSocketConfig {


    @Bean
    public ServerEndpointExporter serverendpointExporter(){
        return new ServerEndpointExporter();
    }
}
